package com.xxl.job.executor.model;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigInteger;

/**
 * @ClassName SrmResult
 * @Description
 * @Author XiaHao
 * @Date 2022/1/6 13:45
 */
@Data
@NoArgsConstructor
public class ReponseResult<T> {

    //"操作代码"
    public int code;

    //@ApiModelProperty("操作是否成功")
    public boolean success;

    //@ApiModelProperty("时间戳")
    public BigInteger timestamp;

   // @ApiModelProperty("提示信息")
    public String message;

    //@ApiModelProperty("请求参数")
    public Object params;

   // @ApiModelProperty("返回参数")
    public T result;

}

